package com.sqznkj.Service;

import com.sqznkj.Dao.comInfoDao;
import com.sqznkj.entity.comInfo;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class ComInfoService {
    @Resource
    comInfoDao dao;

    public comInfo getComInfo() {
        return dao.getComInfo();
    }

    public int edit(comInfo com) {
        return dao.editComInfo(com);
    }
}
